projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b489a1f
)
button: Use g_object_notify_by_pspec()
author
Timm Bäder
<mail@baedert.org>
Sat, 1 Aug 2020 13:34:07 +0000
(15:34 +0200)
committer
Timm Bäder
<mail@baedert.org>
Sat, 1 Aug 2020 13:34:07 +0000
(15:34 +0200)
gtk/gtkbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkbutton.c
b/gtk/gtkbutton.c
index d85d65ca484b6be6b4ea98fd983824f4ec880706..ca2d0607d9c10b0fee08e224c644d124e1efa21d 100644
(file)
--- a/
gtk/gtkbutton.c
+++ b/
gtk/gtkbutton.c
@@
-1035,7
+1035,7
@@
gtk_button_set_child (GtkButton *button,
gtk_widget_set_parent (priv->child, GTK_WIDGET (button));
gtk_button_set_child_type (button, WIDGET_CHILD);
- g_object_notify
(G_OBJECT (button), "child"
);
+ g_object_notify
_by_pspec (G_OBJECT (button), props[PROP_CHILD]
);
}
/**